#include "IShape.h"
namespace RayTrace{
IShape::IShape(void)
{
	m_geometry=0;
	m_material=0;
}

IShape::IShape(IGeometry* geometry,CMaterial* material)
{
	m_geometry=geometry;
	m_material=material;
}
IShape::~IShape(void)
{
}
IGeometry* IShape::GetGeometry()
{
	return m_geometry;
}
void IShape::SetGeometry(IGeometry* geometry)
{
	m_geometry=geometry;
}
CMaterial* IShape::GetMaterial()
{
	return m_material;
}
void IShape::SetMaterial(CMaterial* material)
{
	m_material=material;
}
}